<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jstl/core_rt"%>
<div id="top">
	<div style="height: 90px;background-color: #eee;padding: 5px 0">
		<a style="border: none;"><img src="<%=request.getContextPath()%>/img/x_index_01.gif"/></a>
		<span style="float: right;margin-right: 10px">
		<a href="<%=request.getContextPath()%>/managerIndex.do" >后台管理</a>
		</span>
	</div>
	<ul class="nav">
		<c:forEach items="${columns}" var="nav">
			<c:choose>
				<c:when test="${nav.url == '#' }">
					<li><a href="<%=request.getContextPath()%>/site/column.do?columnId=${nav.id }&page=1&rows=10">${nav.name }</a></li>
				</c:when>
				<c:otherwise>
					<li><a href="<%=request.getContextPath()%>/${nav.url }">${nav.name }</a></li>				
				</c:otherwise>
			</c:choose>
			
		</c:forEach>
	</ul>
	
</div>